Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: configurable TUF cache dir #278

Merged
merged 1 commit into from
May 3, 2023
Merged

Conversation

bdehamer
Copy link
Contributor

@bdehamer bdehamer commented May 3, 2023

Adds support for a new tufCache parameter that allows us to synchronize the TUF cache path with the npm CLI (see npm/cli#6418). The TUF cache is passed to the sigstore library and is used when downloading the key material necessary to verify package provenance attestations.

Also updates the cache-dir module so that the TUF cache can be defaulted in the same way as cacache.

Signed-off-by: Brian DeHamer <bdehamer@github.com>
@bdehamer bdehamer requested a review from a team as a code owner May 3, 2023 19:42
@bdehamer bdehamer requested a review from fritzy May 3, 2023 19:42
@wraithgar wraithgar merged commit 3307ad9 into npm:main May 3, 2023
@github-actions github-actions bot mentioned this pull request May 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants